include ../../makeEnviroment.conf
SRCS = $(wildcard *.c)
TARGET = test
$(info srcs: $(SRCS))
OBJS = $(patsubst %.c,%.o,$(SRCS))
$(info objs: $(OBJS))


all:$(OBJS)
	$(GCC) -o $(TARGET) $(OBJS) $(CFLAGS) -pthread -O3

$(OBJS):%.o:%.c
	$(GCC) -c $^ -o $@ $(CFLAGS)

clean:
	rm -f *.o $(TARGET) $(OBJS)
